﻿using BaseData.Domain;
using Microsoft.EntityFrameworkCore;

namespace BaseData.Infrastructrue
{
    public class Mycontext : DbContext
    {
        public Mycontext(DbContextOptions options) : base(options)
        {
        }
        public virtual DbSet<UserInfo> UserInfo { get; set; }
        public virtual DbSet<UserRole> UserRole { get; set; }
        public virtual DbSet<RolePermiss> RolePermiss { get; set; }
        public virtual DbSet<Permission> Permission { get; set; }
        public virtual DbSet<Role> Role { get; set; }
        protected Mycontext()
        {
        }
    }
}
